import sys
from PyQt5.QtWidgets import *
from util_3d import *
from grab_win import GrabWindow,QSSLoader
from controller import Controller
# from qt_material import apply_stylesheet

if __name__ == '__main__':

    app = QApplication(sys.argv)
    main_win = GrabWindow()
    # 设置样式表
    style_file = './qss/MacOS.qss'
    style_sheet = QSSLoader.read_qss_file(style_file)
    main_win.setStyleSheet(style_sheet)

    control = Controller(main_win)
    main_win.show()
    sys.exit(app.exec_())
